package com.hireceivecard.config;
/**
 *
 * @Description: 自动填充处理类
 * @Author 2742866928@qq.com
 * @Date: 2024/3/24 0:21
 */
//@Component
//public class MyMetaObjectHandler implements MetaObjectHandler {
//    @Override
//    public void insertFill(MetaObject metaObject) {
//        DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
//        this.setFieldValByName("createTime", LocalDateTime.now().format(formatter), metaObject);
//        this.setFieldValByName("endDate", LocalDateTime.now().format(formatter), metaObject);
//        this.setFieldValByName("deleted","0", metaObject);
//    }
//    @Override
//    public void updateFill(MetaObject metaObject) {
//
//    }
//}
